package be.ac.ua.codebase;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.UUID;
import java.util.Vector;

import net.jini.core.lease.LeaseDeniedException;
import net.jini.core.transaction.TransactionException;

public interface StoreConnectorInterface extends Remote {
	public void addProduct(Product product) throws RemoteException, TransactionException, LeaseDeniedException;
	public void addProduct(Product product, Long duration, Double minAmount, Double maxAmount, Class auctionType, CustomerInterface seller, UUID bankAccountID, UUID bank) throws RemoteException, TransactionException, LeaseDeniedException;
	public Vector<Product> search(String string) throws RemoteException;
}
